import React from 'react'
import { createRoot } from 'react-dom/client'
import { Provider } from 'react-redux'
import { store } from './store'
import App from './App'
import reportWebVitals from './reportWebVitals'
import './index.scss'

import zhCN from 'antd/lib/locale/zh_CN'

const container = document.getElementById('root')
const root = createRoot(container)

root.render(<React.StrictMode>
  <Provider
    locale={zhCN}
    store={store}>
    <App />
  </Provider>
</React.StrictMode>)

reportWebVitals()
